Skip to content

Conversation

@asherf
Copy link
Member

@asherf asherf commented May 30, 2025

No description provided.

@asherf asherf requested review from Copilot and dstello May 30, 2025 15:48
@asherf asherf self-assigned this May 30, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refines the GitHub Actions workflow to support both push and pull request builds, updates pnpm setup, and tightens deployment settings.

  • Added pull_request trigger and manual dispatch
  • Bumped pnpm/action-setup to v4 and simplified install/build steps
  • Configured artifact retention and conditional deploy only on main

run: |
cd docs
pnpm install
run: pnpm install
Copy link

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pnpm install step now runs in the repository root instead of the docs directory. To restore the previous behavior, either add working-directory: docs under this step or reintroduce cd docs before the install command.

Suggested change
run: pnpm install
run: pnpm install
working-directory: docs

Copilot uses AI. Check for mistakes.
run: |
cd docs
pnpm run build
run: pnpm run build
Copy link

Copilot AI May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pnpm run build step also runs in the root instead of docs. Use working-directory: docs here or add cd docs to ensure the build runs in the correct folder.

Suggested change
run: pnpm run build
run: pnpm run build
working-directory: docs

Copilot uses AI. Check for mistakes.
@asherf asherf merged commit 1f7bb73 into main May 30, 2025
2 checks passed
@asherf asherf deleted the pages branch May 30, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants